package com.dx.architectureddd.common.enums;

import com.dx.architectureddd.common.base.IBaseEnum;
import lombok.Getter;

/**
 * 下一执行节点类型
 *
 * @author xin.deng
 * @date 2023/09/24
 */
public enum NodeNextType implements IBaseEnum<String> {
    NEXT("next", "下一步atomExe"),
    /**
     * 节点内部的基本业务逻辑状态,非最终态
     */
    FAIL("fail", "失败"),
    /**
     * 节点内部的基本业务逻辑状态,非最终态
     */
    SUC("suc", "成功"),
    NTH("nth", "nothing什么都不做");

    @Getter
    private String value;

    @Getter
    private String label;

    NodeNextType(String value, String label) {
        this.value = value;
        this.label = label;
    }
}
